﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.master" AutoEventWireup="true"
    CodeFile="KhoaDuLieu.aspx.cs" Inherits="KhoaDuLieu" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
<style type="text/css">
    fieldset{ width:95%; margin:10px;}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:UpdatePanel ID="up1" runat="server">
        <ContentTemplate>
            <fieldset>
                <legend>Khóa dữ liệu</legend>
                Chọn danh mục cần khóa <asp:DropDownList ID="dlKhoa" runat="server" DataTextField="DanhMuc" DataValueField="IDs"
                    CssClass="form-control" Width="250px">
                </asp:DropDownList>
                <asp:DropDownList ID="dlThang" runat="server" CssClass="form-control" Width="120px">
                </asp:DropDownList>
                <asp:DropDownList ID="dlNam" runat="server" CssClass="form-control" Width="120px">
                </asp:DropDownList>
                <asp:Button ID="btnKhoa2" CssClass="btn btn-warning" runat="server" Text="Khóa" OnClick="btnKhoa2_Click" /><br />
            </fieldset>
            <fieldset>
                <legend>Mở dữ liệu</legend>
                <asp:DropDownList ID="dlMoKhoa" runat="server" AutoPostBack="true" DataTextField="DanhMuc"
                    DataValueField="IDs" CssClass="form-control" Width="200px" OnSelectedIndexChanged="dlMoKhoa_SelectedIndexChanged">
                </asp:DropDownList>
                <asp:DropDownList ID="dlNghiepVu" AutoPostBack="true" runat="server" DataTextField="TenNghiepVu"
                    DataValueField="NghiepVu" CssClass="form-control" Width="200px" OnSelectedIndexChanged="dlNghiepVu_SelectedIndexChanged">
                </asp:DropDownList>
                <asp:DropDownList ID="dlNhanVien" runat="server" DataTextField="NhanVien" DataValueField="NhanVien"
                    AutoPostBack="true" OnSelectedIndexChanged="dlThang2_SelectedIndexChanged" CssClass="form-control"
                    Width="200px">
                </asp:DropDownList>
                <asp:DropDownList ID="dlThang2" runat="server" AutoPostBack="true" CssClass="form-control"
                    Width="120px" OnSelectedIndexChanged="dlThang2_SelectedIndexChanged">
                </asp:DropDownList>
                <asp:DropDownList ID="dlNam2" runat="server" AutoPostBack="true" CssClass="form-control"
                    Width="120px" OnSelectedIndexChanged="dlThang2_SelectedIndexChanged">
                </asp:DropDownList>
                <asp:TextBox ID="txtTuNgay" Visible="false" runat="server" placeholder="Từ ngày" Width="100px"
                    CssClass="form-control"></asp:TextBox>&nbsp;
                <asp:TextBox ID="txtDenNgay" Visible="false" runat="server" placeholder="Đến ngày"
                    Width="100px" CssClass="form-control"></asp:TextBox>
                <cc1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtTuNgay"
                    Format="dd/MM/yyyy">
                </cc1:CalendarExtender>
                <cc1:CalendarExtender ID="CalendarExtender3" runat="server" TargetControlID="txtDenNgay"
                    Format="dd/MM/yyyy">
                </cc1:CalendarExtender>
                <cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender9" runat="server" FilterType="Custom,Numbers"
                    TargetControlID="txtTuNgay" ValidChars="/-" />
                <cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender10" runat="server" FilterType="Custom,Numbers"
                    TargetControlID="txtDenNgay" ValidChars="/-" />
                <asp:Button ID="btnMokhoa" CssClass="btn btn-warning" runat="server" Text="Mở khóa"
                    OnClick="btnMokhoa_Click" />
            </fieldset>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
